#include "stl.h"
#include "parse.h"
#include "solution.h"
int main(int argc, char *argv[])
{
    string str = "[[\"[[1,0],[0,3]]\",\"[0,1]\"],[\"[[1,0]]\",\"[2,0]\"],[\"[[2,0]]\",\"[1,0]\"],[\"[[5,0],[-10,-2],[0,-5],[-2,-2],[-7,1]]\",\"[7,7]\"],[\"[[-1,0],[0,1],[-1,0],[0,1],[-1,0]]\",\"[0,0]\"]]";
    vector<vector<string>> arr = parseStringArrArr(str);
    for (int i = 0; i < arr.size(); i++)
    {
      vector<string> args = arr[i];
      Solution *s = new Solution();
      vector<vector<int>> arg0 = parseIntegerArrArr(args[0]);
      vector<int> arg1 = parseIntegerArr(args[1]);
      bool result=s->escapeGhosts(arg0,arg1);
      string resultabc =serializeBool(result);
      cout << "resultabc"+to_string(i)+":" << resultabc <<"resultend"<< endl;
    }
    return 0;
}